﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Server.communication;

namespace Server.Processes
{
    [DataContract]
    public class LoginResponse : AbstractResponse
    {
        [DataMember]
        public static String SUCCESS = "1";
        [DataMember]
        public static String FAIL = "0";
        [DataMember]
        private string _result;

        public LoginResponse(string result)
        {
            _result = result;
        }

        public string getResult()
        {
            return _result;
        }
    }
}
